package org.example.sb_20241005springboot.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * Description:做渐进主义的改良派,不做完没注意的速成派
 * User: XALEXC
 * Date: 2024-10-05
 * Time: 16:24
 */
@RequestMapping("/hello/a")
@RestController
public class HelloController {
    @RequestMapping(value = "/sayhi/b",method = RequestMethod.GET)
    public String sayHi() {
        return "Hello SpringBoot";
    }
    @RequestMapping("/sayhello")
    public String hello() {
        return "Hello,word";
    }
}
